.logical-field-modal{
  .icon-question{
    color: $text-color-secondary;
  }

  .base-modal-body{
    display: flex;
    flex-flow: row nowrap;
    padding: 10px 0;
  }
  
  .base-modal-footer{
    border-top: 1px solid #e9ecef;
    text-align: right;
    padding: 8px 10px;
  }
}

.logical-field-panel{
  height: 320px;
  padding: 0 10px;
  display: flex;
  flex-flow: column nowrap;
  width: 320px;

  .logical-field-panel-header{
    margin: 0;
    line-height: 24px;
    padding: 4px 10px;
  }

  .logical-field-panel-body{
    padding-top: 5px;
    flex: 1;
    overflow: auto;
  }

  & + .logical-field-panel{
    border-left: 1px solid #ddd;
  }
}

.logical-field-value, .logical-field-target{
  height: 32px;
  line-height: 32px;
  cursor: pointer;
  padding: 0 10px;
  border-bottom: 1px solid transparent;

  &:hover{
    background-color: #f5f7fa;
  }
}

.logical-field-target + .items-of-group {
  margin-top: 5px;
  padding-left: 24px;
}

.logical-field-value{
  height: auto;
  word-break: break-all;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  justify-content: space-between;
  align-items: center;
  .icon-fdn-related_task {
    color: $color-primary;
  }
  &.logical-field-selected{
    color: $color-primary;
    background-color: #E6FFFB;
  }

  & + .logical-field-value{
    margin-top: 5px;
  }
}

.logical-field-target{
  display: flex;
  flex-flow: row nowrap;
  align-items: center;

  .el-checkbox{
    margin: 0;
    padding-right: 10px;
  }

  p{
    margin: 0;
    flex: 1;

    @include text-ellipsis();
  }

  & + .logical-field-target{
    margin-top: 5px;
  }
}

.logical-field-separator{
  position: relative;
  cursor: default;
  flex: 1;
  background-color: #fafafa;
  padding: 0 10px;
  margin: 0 -10px;
  .iconfont {
    position: absolute;
    right: 10px;
    height: 30px;
    font-weight: normal;
    line-height: 30px;
    font-size: 14px;
    
    &:hover {
      @include fontColor();
      cursor: pointer;
    }
  }
  .reversal {
    transform: rotateZ(180deg);
  }
}